package com.jxsz.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName(value ="t_order")
@Data
public class TOrder implements Serializable {
    @Schema(description = "唯一标识符")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(description = "订单编号")
    @TableField("order_no")
    private String orderNo;

    @Schema(description = "订单类型")
    @TableField("order_type")
    private Integer orderType;

    @Schema(description = "标题")
    @TableField("title")
    private String title;

    @Schema(description = "内容")
    @TableField("content")
    private String content;

    @Schema(description = "处理部门ID")
    @TableField("handle_dept_id")
    private Integer handleDeptId;

    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    @Schema(description = "分派时间")
    @TableField(value = "fenpai_time")
    private Date fenpaiTime;

    @Schema(description = "是否逾期，0为否，1为是")
    @TableField("is_overdue")
    private Integer isOverdue;
}